export default{ 
    //进行数据改变
    changeCity(state,city){
        state.city=city  //对stat中的数据进行改变
        try {
            localStorage.city = city
        } catch (error) {
            
        }
    }
}